{% extends 'base.html' %}

{% block ext_css %}
    <link rel="stylesheet" href="/static/user/css/base_self_site.css">
{% endblock %}

{% block header %}
    <div class="header">
        <div class="content">
            <p class="title">
                <span><a href="/">博客系统首页</a></span>
                <span class="align-center">{{ username }}的博客: {{ blog.title }}</span>
                {% ifequal username user.username%}
                    <a href="{% url "blogsystem:cn_backend" %}" class="backend">站点管理</a>
                {% endifequal %}
            </p>
        </div>
    </div>
{% endblock %}

{% block content %}
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-3">
                {% load my_tags %}
                {% get_classification_style username %}
            </div>
        
            <div class="col-md-9">
               {% block article_or_list %}
               
               {% endblock %}
            </div>

        </div>
    </div>
{% endblock %}